package com.smarttourism.service.impl;

import com.smarttourism.domain.GoodsModule;
import com.smarttourism.mapper.GoodsModuleMapper;
import com.smarttourism.service.GoodsModuleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author：王祖威
 * @Date ：2024/10/23 11:37
 */
@Service
public class GoodsModuleServiceImpl implements GoodsModuleService {

    @Autowired
    private GoodsModuleMapper goodsModuleMapper;

    @Override
    public List<GoodsModule> findAll() {
        return goodsModuleMapper.selectAll();
    }
}
